# - config file for the s2n package
# It defines the folliwng variables
#  S2N_INCLUDE_DIRS - include directories for s2n
#  S2N_LIBRARIES

# Compute paths
get_filename_component(S2N_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
set(S2N_INCLUDE_DIRS "@CONF_INCLUDE_DIRS@")

set(TMP "@NON_SYS_LIBCRYPTO_ROOT@")
if(${TMP} NOT STREQUAL "")
    set(LibCrypto_ROOT_DIR "@NON_SYS_LIBCRYPTO_ROOT@")
endif()

find_package(LibCrypto)

if(NOT TARGET s2n)
    include("${S2N_CMAKE_DIR}/s2nTargets.cmake")
endif()

set(S2N_LIBRARIES s2n)
